package com.gzz.orchid.context.infrastructure.persistence.entity.cms;

import com.gzz.orchid.context.infrastructure.persistence.AbstractPojo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 文章表cms_article
 *
 * @author higmd
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CmsArticlePo extends AbstractPojo {

    private Long id;
    /**
     * 所属栏目id column_id
     */
    private Long columnId;
    /**
     * 标题 title
     */
    private String title;
    /**
     * 副标题 subtitle
     */
    private String subtitle;
    /**
     * 缩略图 thumbnail
     */
    private String thumbnail;
    /**
     * 作者 author
     */
    private String author;
    /**
     * 发布时间 publish_time
     */
    private LocalDateTime publishTime;
    /**
     * 来源  source
     */
    private String source;
    /**
     * 摘要 summary
     */
    private String summary;
    /**
     * 内容  content
     */
    private String content;
    /**
     * 标签 tags
     */
    private String tags;
    /**
     * 浏览量  view_count
     */
    private Integer viewCount;
    /**
     * 点赞数  like_count
     */
    private Integer likeCount;
    /**
     * 置顶  is_top
     */
    private Integer isTop;
    /**
     * 状态  status
     */
    private Integer status;
}
